package com.hspedu.homework.homework03;

/**
 * @Author Stringzhua
 * @Date 2024/3/3 16:30
 * description:子类
 * 在三个子类都要重写父类的introduce()方法
 */
public class FuProfessor extends Teacher{
    public FuProfessor(String name, int age, String post, double salary, double level) {
        super(name, age, post, salary, level);
    }

    @Override
    public void interduce() {
        System.out.println("这是副教授的信息~");
        super.interduce();
    }
}
